<template>
  <main-wrap v-wechat-title="title">
    <article-list v-if="isShow" slot="left" :title="title" :classify="title"></article-list>
  </main-wrap>
</template>

<script>
  export default {
    name: "vueClassify",
    data() {
      return {
        title: "",
        isShow: true,
      }
    },
    watch: {
      $route(newValue, oldValue) {
        this.title = this.$route.params.classify;
        this.isShow = false;
        this.$nextTick(() => {
          this.isShow = true;
        })
      }
    },
    created() {
      this.title = this.$route.params.classify;
    },
    methods: {}
  }
</script>

<style scoped>

</style>
